package nuc.soft.xsf.dao.impl;

import java.util.List;

import nuc.soft.xsf.dao.IPaperProjectDao;
import nuc.soft.xsf.dao.impl.base.BaseDaoImpl;
import nuc.soft.xsf.model.Paper;
import nuc.soft.xsf.model.PaperProject;
public class PaperProjectDaoImpl extends BaseDaoImpl<PaperProject> implements IPaperProjectDao{
   public PaperProjectDaoImpl(){
	   super.setNameSpace("nuc.soft.xsf.mapper.PaperProjectMapper");
   }
   @Override
	public PaperProject getByProjectId(Integer id) {
		// TODO Auto-generated method stub
	  PaperProject paperProject=this.getSqlSession().selectOne("nuc.soft.xsf.mapper.PaperProjectMapper" + ".getProjectId", id);
	  
	  System.out.println("paperProjectId:"+paperProject.getProjectId());
	 // paperProject.setProjectId((int) this.getSqlSession().selectOne("nuc.soft.xsf.mapper.PaperProjectMapper" + ".getProjectId", id));
      return paperProject;
	}
}
